﻿@model IEnumerable<ADShop.Models.Member>
<div id="content">
    <h1>Account Login</h1>
    <div class="login-content">
        <div class="left">
            <h2>New Customer</h2>
            <div class="content">
                <p><b>Register Account</b></p>
                <p>By creating an account you will be able to shop faster, be up to date on an order's status, and keep track of the orders you have previously made.</p>
                <a class="button" href="~/CreateAccount">Continue</a>
            </div>
        </div>
        <div class="right">
            <h2>Returning Customer</h2>
            @using (Html.BeginForm("LoginMember", "Login" , FormMethod.Post))
            {
                @Html.AntiForgeryToken()
                @Html.ValidationSummary(true, "Có Lỗi Xãy Ra Trong Quá Trình Đăng Nhập", new { @style = "color:red;" });
                <div class="content">
                    <p><font color="red"><b>@ViewBag.Error</b></font></p>
                    <b>E-Mail Address:</b><br>
                    @Html.TextBox("tbEmail")
                    <br>
                    <br>
                    <b>Password:</b><br>
                    @Html.Password("pwPassword")
                    <br>
                    <br>
                    <a href="#">Forgotten Password</a><br>
                    <br>
                    <input type="submit" class="button" value="Login">
                </div>
            }
        </div>
    </div>
</div>